package com.pattern.create.builder;

public class Client {
    public static void main(String[] args) {
        ActorBuilder heroBuilder = new HeroBuilder();
        ActorBuilder angelBuilder = new AngelBuilder();
        ActorController actorController = new ActorController();

        Actor hero = actorController.construct(heroBuilder);
        Actor angel = actorController.construct(angelBuilder);

        System.out.println(hero);
        System.out.println(angel);

    }
}
